export default function Home() {
  const handleSubmit = async (form: FormData) => {
    'use server'
    console.log('======>', form.get('name'))
  }

  return (
    <div>
      首页
      <form action={handleSubmit}>
        <input name='name' />
        <button type='submit'>提交</button>
      </form>
    </div>
  )
}
